<?php
/**
 *   admin 模块 配置
 */
use  think\Request;
$ip = Request::instance()->domain();
$pattern = '/(.*)(:\d+)/i';
$replacement = '${1}:8007';
$ip = preg_replace($pattern, $replacement, $ip);
 return
    [
        'out_time'      => 2*3600*24, //确认询价之后的失效时间
        //'Platform commission'      => 2*3600*24, //确认询价之后的失效时间
        'api_qcode'      => "http://pan.baidu.com/share/qrcode?w=150&h=150&url=", //
        'h5_url'      => "{$ip}/#/register/", //
        'thirdpartyPaySet'      => ["benyuan","yitianmao","tixia","lian","znan","tlian"], //三方支付配置
        'smsPaySet'      => ["smsbao","smsdisable","he"], //三方支付配置
        'payfree'      => 4, //三方支付配置
    ];




?>